home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / rexx / 6 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  973 b 

  1. Path: nntp.cs.ubc.ca!bcsystems!bcsystems!nntp
  2. Newsgroups: comp.lang.rexx
  3. Subject: Re: Newbie: numerics in REXX
  4. Message-ID: <1995Dec31.215424.7370@venus.gov.bc.ca>
  5. From: dafriese@net.gov.bc.ca
  6. Date: 31 Dec 95 21:54:24 PST
  7. Reply-To: dafriese@net.gov.bc.ca
  8. References: <DKBLIu.22B@rockyd.rockefeller.edu> <4bvhu3$nc5@merlin.delphi.com>
  9. Nntp-Posting-Host: vicsd218.dial.gov.bc.ca
  10. X-Newsreader: IBM NewsReader/2 v1.2.5
  11.  
  12. In <4bvhu3$nc5@merlin.delphi.com>, Jeff Hennick <jhennick@mci.newscorp.com> writes:
  13. >dan@pendragon.rockefeller.edu (Dan Samber) wrote:
  14. >>
  15. >>data = "1"x  /* this is hex 1 same as decimal 1 or binary 1 */
  16. >                                       ^^^^^^^^^
  17. >NO, it is NOT decimal 1, it is the _character_ for hex 1.  Decimal 1 is 
  18. >the character "1", considerably different and it depends on the character 
  19. >set being used by your system, ASCII, EBCDIC, etc.
  20. >
  21.  
  22. As an aside, the numeric hex for 1 is 1x or 0001x.
  23.  
  24. Compare "6565"x and 6565x and see what you get.
  25.